﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class Events
{
    public const string ON_GAME_BEGIN = "ON_GAME_BEGIN";
    public const string ON_GAME_LOSE = "ON_GAME_LOSE";
    public const string ON_GAME_WIN = "ON_GAME_WIN";

    //Player Control
    public const string ON_PLAYER1_INPUT = "ON_PLAYER1_INPUT";
    public const string ON_PLAYER1_ATTACK = "ON_PLAYER1_ATTACK";

    public const string ON_PLAYER2_INPUT = "ON_PLAYER2_INPUT";
    public const string ON_PLAYER2_BLOCK = "ON_PLAYER2_BLOCK";

    public const string ON_PLAYERS_BIND = "ON_PLAYERS_BIND";

    //Player Die
    public const string ON_PLAYER1_DIE = "ON_PLAYER1_DIE";
    public const string ON_PLAYER2_DIE = "ON_PLAYER2_DIE";

    //Enemy Killed
    public const string ON_ENEMY_KILLED = "ON_ENEMY_KILLED";

}

public class DefaultArgs : EventArgs
{
    public string eventName;
    public MonoBehaviour script;

    public DefaultArgs(string eventName, MonoBehaviour script)
    {
        this.eventName = eventName;
        this.script = script;
    }
}
